package com.project.mall.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

public class Orders {

  @Override
  public String toString() {
    return "Orders{" +
            "orderid=" + orderid +
            ", ordercode='" + ordercode + '\'' +
            ", orderstateid=" + orderstateid +
            ", tradetime=" + tradetime +
            ", ordercreate=" + ordercreate +
            ", gcolorid=" + gcolorid +
            ", gtypeid=" + gtypeid +
            ", gid=" + gid +
            ", ordercount=" + ordercount +
            ", sendprice=" + sendprice +
            ", couponid=" + couponid +
            ", paytype='" + paytype + '\'' +
            ", logisticscode=" + logisticscode +
            ", logisticename='" + logisticename + '\'' +
            ", userid=" + userid +
            ", reciveid=" + reciveid +
            ", billmes='" + billmes + '\'' +
            ", orderstate=" + orderstate +
            ", goods=" + goods +
            ", user=" + user +
            '}';
  }

  private long orderid;
  private String ordercode;
  private long orderstateid;
  private java.sql.Timestamp tradetime;
  private java.sql.Timestamp ordercreate;
  private long gcolorid;
  private long gtypeid;
  private long gid;
  private long ordercount;
  private double sendprice;
  private long couponid;
  private String paytype;
  private long logisticscode;
  private String logisticename;
  private long userid;
  private long reciveid;
  private String billmes;
  private Orderstate orderstate ;
  private Goods goods;
  private User user;

  public Orderstate getOrderstate() {
    return orderstate;
  }

  public void setOrderstate(Orderstate orderstate) {
    this.orderstate = orderstate;
  }

  public Goods getGoods() {
    return goods;
  }

  public void setGoods(Goods goods) {
    this.goods = goods;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public long getOrderid() {
    return orderid;
  }

  public void setOrderid(long orderid) {
    this.orderid = orderid;
  }


  public String getOrdercode() {
    return ordercode;
  }

  public void setOrdercode(String ordercode) {
    this.ordercode = ordercode;
  }


  public long getOrderstateid() {
    return orderstateid;
  }

  public void setOrderstateid(long orderstateid) {
    this.orderstateid = orderstateid;
  }


  public java.sql.Timestamp getTradetime() {
    return tradetime;
  }

  public void setTradetime(java.sql.Timestamp tradetime) {
    this.tradetime = tradetime;
  }


  public java.sql.Timestamp getOrdercreate() {
    return ordercreate;
  }

  public void setOrdercreate(java.sql.Timestamp ordercreate) {
    this.ordercreate = ordercreate;
  }


  public long getGcolorid() {
    return gcolorid;
  }

  public void setGcolorid(long gcolorid) {
    this.gcolorid = gcolorid;
  }


  public long getGtypeid() {
    return gtypeid;
  }

  public void setGtypeid(long gtypeid) {
    this.gtypeid = gtypeid;
  }


  public long getGid() {
    return gid;
  }

  public void setGid(long gid) {
    this.gid = gid;
  }


  public long getOrdercount() {
    return ordercount;
  }

  public void setOrdercount(long ordercount) {
    this.ordercount = ordercount;
  }


  public double getSendprice() {
    return sendprice;
  }

  public void setSendprice(double sendprice) {
    this.sendprice = sendprice;
  }


  public long getCouponid() {
    return couponid;
  }

  public void setCouponid(long couponid) {
    this.couponid = couponid;
  }


  public String getPaytype() {
    return paytype;
  }

  public void setPaytype(String paytype) {
    this.paytype = paytype;
  }


  public long getLogisticscode() {
    return logisticscode;
  }

  public void setLogisticscode(long logisticscode) {
    this.logisticscode = logisticscode;
  }


  public String getLogisticename() {
    return logisticename;
  }

  public void setLogisticename(String logisticename) {
    this.logisticename = logisticename;
  }


  public long getUserid() {
    return userid;
  }

  public void setUserid(long userid) {
    this.userid = userid;
  }


  public long getReciveid() {
    return reciveid;
  }

  public void setReciveid(long reciveid) {
    this.reciveid = reciveid;
  }


  public String getBillmes() {
    return billmes;
  }

  public void setBillmes(String billmes) {
    this.billmes = billmes;
  }

}
